<style scoped src="./index.scss" lang="scss" rel="stylesheet/scss"></style>
<template src="./index.html"></template>
<script>

export default {
  props: ["value","imgUrl","types"],
  mixins: [Vue.prototype.$vFN.Utils],
  components: {},
  data() {
    return {
      show: true,
    };
  },
  methods: {

    // 按钮
    button(value){
      this.$emit('click',value);
    },
    
    // 体验二维码
    barcode(){
       this.show = false;
       this.$emit('clickBarcode','barcode');
    },

    // 时间戳转换
    timeStamp(time){
      if(!this.$vFN.Utils.isEmpty(time)){
        return  this.$vFN.Utils.timestampToDate('yyyy-MM-dd HH:mm:ss',time * 1000)
      }
    },

  },
  mounted() {
},

  activated() {
  },
};
</script>